<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;

class CreateYsDrawcashTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('drawcash', function(Blueprint $table)
		{
			$table->increments('id')->comment('主键id');
			$table->bigInteger('uid')->comment('用户id');
			$table->string('order_number', 32)->nullable()->comment('订单编号');
			$table->integer('recharge_time')->nullable()->comment('提现时间');
			$table->tinyInteger('status')->nullable()->comment('提现状态');
			$table->tinyInteger('type')->nullable()->default(0)->comment('提现方式');
		});
	}


	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('drawcash');
	}

}
